home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
util
/
text
/
bibcard_.lha
/
BibCard
/
BibCard.doc
< prev
next >
Wrap
Text File
|
1995-08-27
|
17KB
|
619 lines
*********************************
* *
* BibCard v0.91 *
* *
* (c) 1995 Matthijs Luger *
* *
*********************************
The programs and files in this distribution are freely distributable, but
are also copyright (c) Matthijs Luger. They may be freely distributed as
long as no more than a nominal fee is charged to cover time and copying
costs.
No commercial usage is permitted without written permission from the
author. Everything in this distribution must be kept together, in original
unmodified form.
The above is generally known as freeware.
If you have suggestions or remarks about this program, or if you find any
bugs, please let me know.
Contacting the author:
Internet: mluger@bio.vu.nl
Fido: 2:280/509.4 (Matthijs Luger)
Mail: Matthijs Luger
J. Bernardusstraat 7-2
1091 TR Amsterdam
Netherlands
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Contents
========
1. Introduction
2. Usage
3. Help
4. Future
5. Acknowledgments
6. History
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
1. Introduction
===============
! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
! !
! First I want to say that this program is not finnished yet, and that !
! I'm still working at it. So it is possible to give comments and !
! suggestions for the next release. !
! !
! I have tested it well before releasing this and I hope that there !
! are no nasty bugs in it, but be warned. Keep a copy of your valuable !
! datafiles. !
! !
! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
BibCard is a database program to control BibTeX files. These are files
with references to articles, books, conferences etc. and are used in
combination with LaTeX.
It requires minimal v2.04 (kickstart V37) of the operating system. It has
been written and tested (using Mungwall and Enforcer) under v3.1 (V40),
but should run under 2.04 and higher.
For selecting a screen mode V38 of the asl.library must be present.
BibCard has the following features:
- It can handle multiple bib files at once. It opens for
every bib file a new window.
- It has an extended Annotation option.
- It has a @preamble option
- It supports @string entries.
- Every entry that is unknown for BibCard will be stored,
saved and is also editable.
- For every entry and field is some help, explaining where it is used for.
- It can read "" and {} pair's for field delimiters.
- Sensitive help.
- Search option.
- Supports text entering through the textfield.gadget.
- BibCard opens on the Workbench, a public screen or it's own public screen.
- For a custom screen any font can be choosen.
- Is font sensitive.
- Is an AppWindow.
- Supports icon creation for saved bibfiles.
- You name it, I make it...
BibCard supports now the textfield gadget for text entering. The suplied
install script copies the textfield.gadget to SYS:Classes/Gadgets for
kickstart V39 and above. For versions V37 and V38 it should be installed
in a directory Gadgets in the same directory where BibCard is found.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
2. Usage
========
BibCard can be started from the Workbench or the Shell. Both methods give
you some options. BibCard uses first its internal configuration, second
the options set in the preferences file, and third any options given on
the command line or as a tool type. An option set at the command line, or
as tool type overides any thing set in the preferences file.
The template is:
FILE,DEFSCREEN=DEF/S,CUSTSCREEN=SCR/S,PUBSCREEN=PUB/K
Or more readable:
BibCard [file] [def | scr | pub <name>]
FILE - Name of bib file.
DEF or DEFSCREEN - Switch to select the default public screen.
SCR or CUSTSCREEN - Switch to select a custom screen.
PUB or PUBSCREEN - Name of the public screen to open on.
The ToolTypes are:
FILE=<file> - Name of bib file.
SCREEN=<def|scr|pub<=name>>
def - Select the default public screen.
scr - Select a custom screen.
pub - Name of the public screen to open on.
The screen option need some more explaining. To open BibCard on a public
screen set the ToolType according to this:
SCREEN=pub=PubScreenName
Where PubScreenName is the name of the publc screen.
The usage of BibCard is simple and need not much to explain. The menu's
are self explaining.
There are six menu's which are explained below.
Project
-------
New - Opens a new bibcard window.
Open - Load a bib file.
Save - Save a bib file.
Save As - Save a bib file specifying a new name.
Merge - Combines two bib files.
Preferences - To set some preferences.
About - Tells it all.
Quit - Quit BibCard.
Edit
----
Add - Add a new bib item at the end of the list.
Duplicate - Duplicate the current item without the Cite Key.
Delete - Delete the current item.
Annotation - Edit the annotation for the current item.
Preamble - Edit the preamble for the current file.
Abbrevations - Edit the Abbrevations for the current file
Unknown Fields - Edit unknown fields for the current item.
Cut - Removes the current item and store's it in its
internal buffer.
Copy - Copy the current item to the internal buffer.
Paste - Inserts the internal buffer after the current item.
Entry
-----
Here you can select the entry type for the current item.
View
----
Next - Next item.
Prev - Previous item.
First - First item.
Last - Last item.
Cite
----
List Cites - Show a ListView with all the Cite Keys.
Find
----
Find - Find an item witch matches some criteria.
Find Next - Find the next item that matches the above.
Find Prev - Find the previous item that matches the above.
Saving and Loading
------------------
Every new opened BibWindow has a default name `bibcard-<n>.bib' where <n>
is a number. When you select <Save> that name will be used to store the
bibfile. There will be NO WARNING if that file already exist so the file
will be overwritten.
If the CiteKey field is empty you will be notified about it. It is not
possible to save a bib file with empty CiteKeys.
When using Merge, the loaded bib file will be appended to the one in
memory. Duplicated CiteKeys will be loaded.
BibCard also supports the creation of an icon when a bibfile is saved.
This option can be selected in the Preference Window.
Main Window and fields
----------------------
The window adapts itself to the number of fields for the different
entries, and it will grow or shrink accordingly. (This behaviour can be
changed in the prefrences.) Despite that not all the entries share the
same fields you can fill in every field for every entry, by changing the
entry type to a type that supports the field and then switch back to the
original field. Although you can not see the field it will be saved with
the entry.
Every field has a maximum of 2500 characters.
For every entry there are required and optional fields. The optional
fields are not required by BibCard, but are required for BiBTeX to work.
BiBTeX will warn you when you forgot the required fields. The optional
fields are only used by BiBTeX if they have a value.
The only field that has to be filled in for BibCard is the CiteKey field.
The window title shows the window number, the number of the current entry,
the total entries and the name of the bib file.
This window is also an AppWindow. This means that when you drop an icon
on this window, the associated file will be loaded. This will only work if
BibCard is opened on the Workbench screen.
Cite Window
-----------
When the Cite Window is opened you get a list of all the CiteKeys in the
bib file. When an entry is selected the Bib Window is updated, when you
change the entry in the Bib Window in any way, the selection in the Cite
Window will not change, except for the CiteKey.
The fields that are marked by the Find option are highlighted. That way
you get a quick overview about the bib items that are matched.
With the Cycle Gagdget you can select the fields that are shown in the
ListView. There are 22 different fields so be patient when you want a
particular field in the ListView. (CycleToMenu is recommended.)
Find Window
-----------
In the Find panel you can enter a search expression. Every bib entry that
matches the search criterium get tagged when you click the [FIND] button.
With the [NEXT] button you can display every next tagged item in the list.
With the [PREV] button you can display every previous tagged item in the
list.
The [UNTAG] button in the Find panel clears all tags.
By selecting the CheckBoxes, the checked fields are searched for the given
search expression. The state of the CheckBoxes will be remembered between
different calls.
For now it is not possible to edit the bib file while the Find panel is
open. This will be changed in the future.
With the menu items `Find Next' and `Find Prev' you can go from tagged
item to tagged item and also be able to edit the items.
The following wildcards can be used to specify a pattern:
Pattern Matches
------- --------
? any single character
c* zero or more occurrences of character c
c+ one or more occurrences of character c
\? a question mark (?)
\* an asterisk (*)
\+ a plus sign (+)
Annotation Window
-----------------
For every BibFile opened there can be one Annotation Window open. You will
get a TextField gadget where you can enter multiple lines. There is no
filtering in the characters you enter. So if you enter three line feeds,
there will also three line feeds saved in the *.bib file.
Abbrevation Window
------------------
The abbrevations could be edited here. See the LaTeX manual for the use of
abbrevations. The entries should be in the form:
jb = "Journal of Biology"
Thus: the abbrevation, a '=' character and then the full name surrounded by
double quotes.
With the [New] button you add an item to the list and with the [Delete]
button you can remove an item from the list. The abbrevatiosn appear in
the bibfile as @string entries, one @string for each abbrevation.
Unknown Fields Window
---------------------
Every field that is unknown for BibCard is stored and saved. When
you want to edit these fields you must use the Unknown Fields Window. With
the [New] button you add an item to the list and with the [Delete] button
you can remove an item from the list. The [Ok] button transfers everything
to the current BibItem while the [Cancel] button leaves the BibItem
unchanged.
The fields have the following format:
remark = "This is a remark."
Preferences
-----------
* Field delimiters:
The field delimiters can be set here. When saving a bib file the
field strings will be surrounded with a pair of braces {} or a pair of
double quotes "".
When you have a \" in your bib file, you must set the delimiters to
braces because when reading the bib file all entries after the \" will
be not read in.
Default is ""
* Fixed window size:
When this is set, the window size will not change between the
different entry types. This will speed up the change between different
entries.
Default is off.
* Save icon:
When this option is selected, an icon will be saved with each bibfile.
* Font:
The font for a custom screen can here be selected. All windows are font
sensitive, only when very large font sizes are being used some cosmetic
problems could occur.
* Screen type:
The screen type tells where BibCard will open its window. There are
three possibilities:
Default - Open on the default public screen.
Custom - Open a public screen for itself.
Public - Open on a named existing public screen
When a custom screen is selected, a screen mode can be chosen with the
ListView Button gadget next to the Screen Mode text field. For this
option version 38 of the asl.library is required.
When the last option is chosen, the name of the pubplic screen where
BibCard must open can be entered in the string gadget.
Default for screen type is default public screen and for the custom
screen 'PAL:High Res' or 'NTSC:High Res' depending on the default
frequency.
With [Save] the setting will be saved in the current directory in the file
'BibCard.prefs'. The [Use] button will use the settings without saving
them.
When BibCard opens it looks first for the preference file in the current
directory (where BibCard is started from) and the in the PROGDIR: (where
BibCard resides).
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
3. Help
=======
Pressing Help in the main window gives some help about Help.
When the Help key is pressed inside a string gadget you get some
information explaining the use of the field.
When selecting an entry type under the Entry menu and then pressing the
Help key gives also some information about the entry type.
The Find Window gives also some help about the wildcards that can be used.
The Abbrevation Window gives help about the format of an abbrevation.
The Unknown Fields Window gives help about the format of an unknown field.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
4. Future
=========
There are still things to do, but this version is usable for the average
BiBTeX person. Things on the wish list are:
- Locale support.
- Set some more preferences (ideas?).
- ARexx port.
- AmigaGuide manual
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
5. Acknowledgements
===================
The source for reading and saving the bib files comes from the 1.11
distribution from BibCard for XWindows from The Department of Computer
Science and Applied Mathematics of Berne, Switzerland, written by Bruno
Grossniklaus.
It is changed by me in some degree to suit the Amiga. (All XView calls
are removed and the Reference structure is replaced by my own.)
The textfield.gadget is Copyright © 1995 Mark Thomas and can be found on
AmiNet.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
6. History
==========
v0.91 (27.8.95)
---------------
o During install under kickstart 2.0 the textfield.gadget ended up in
the wrong place.
o When there was no field entry in a bibfile the field seperator ","
showed up in the fields in bibcard. Now the "," is removed and when
the bib file is saved these entries will be skipped.
o The ListView in the Cite Window is now a MultipleSelect ListView.
The behaviour is the same as under u*ix.
o ToolTypes are now supported.
o The option to open on a named public screen was broken. Now it is
working again.
o The BibFile window is now an AppWindow.
o An icon can now be saved with the bibfile.
o For every field 2500 characters can be entered (was 256).
v0.9 (10.8.95)
-------------
o The type of screen where bibcard opens can now be selected.
o Font is selectable and all windows are now font senstive.
o Added some more help.
o Adding and deleting entries to the Abbrevation and Unknown Window
could result in a serious hangup.
o Added PROGDIR: to the search path for the preference file.
o Rewritten some parts of the doc.
v0.8 (18.7.95)
--------------
o Preferences can now be saved.
o Add [NEXT] and [PREV] buttons in the Find panel.
o Added menu and key support to the Cite Window.
o The Annotation field now uses the textfield.gadget. With this
external gadget you can enter multiple lines.
o The Cite Window and the Annotation Window can now be open at the same
time and every BibFile has it's own Annotaton and Cite Window.
o Unknown fields are now editable.
o An interlace option is added for custom screens.
v0.7 (11.6.95)
--------------
o Added editting of unknown fields.
o Added Cut/Copy/Paste functions using an internal buffer.
o A line will be drawn between the required and the optional fields.
o Field delimiters can be set between "" and {} pairs.
o The main window can be set at fixed size.
o Added Find option.
v0.6 (8.5.95)
--------------
o Initial release